add a domain_tot_pages() helper function
authorPaul Durrant <pdurrant@amazon.com>
Thu, 30 Jan 2020 11:55:35 +0000 (11:55 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 14 Feb 2020 14:24:50 +0000 (14:24 +0000)
commit37663f36df8975b9fbba18f5c392bd6ac8edd64c
tree0ba6d286fc85c7d978019a21c3898b34d77de5af
parentad1d3db985249c64d65d8f73a4c49e2204ddf4e1
add a domain_tot_pages() helper function

This patch adds a new domain_tot_pages() inline helper function into
sched.h, which will be needed by a subsequent patch.

No functional change.

NOTE: While modifying the comment for 'tot_pages' in sched.h this patch
      makes some cosmetic fixes to surrounding comments.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: George Dunlap <George.Dunlap@eu.citrix.com>
Acked-by: Julien Grall <julien@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
17 files changed:
xen/arch/arm/arm64/domctl.c
xen/arch/x86/domain.c
xen/arch/x86/mm.c
xen/arch/x86/mm/p2m-pod.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/msi.c
xen/arch/x86/numa.c
xen/arch/x86/pv/dom0_build.c
xen/arch/x86/pv/domain.c
xen/arch/x86/pv/shim.c
xen/common/domctl.c
xen/common/grant_table.c
xen/common/keyhandler.c
xen/common/memory.c
xen/common/page_alloc.c
xen/include/public/memory.h
xen/include/xen/sched.h